package model;

import java.util.Date;

/**
 * JsfOrder entity. @author MyEclipse Persistence Tools
 */

public class JsfOrder implements java.io.Serializable {

	// Fields

	private JsfOrderId id;
	private Integer pay;
	private String suggest;
	private Date bookTime;
	private Date payTime;

	// Constructors

	/** default constructor */
	public JsfOrder() {
	}

	/** minimal constructor */
	public JsfOrder(JsfOrderId id, Integer pay) {
		this.id = id;
		this.pay = pay;
	}

	/** full constructor */
	public JsfOrder(JsfOrderId id, Integer pay, String suggest, Date bookTime,
			Date payTime) {
		this.id = id;
		this.pay = pay;
		this.suggest = suggest;
		this.bookTime = bookTime;
		this.payTime = payTime;
	}

	// Property accessors

	public JsfOrderId getId() {
		return this.id;
	}

	public void setId(JsfOrderId id) {
		this.id = id;
	}

	public Integer getPay() {
		return this.pay;
	}

	public void setPay(Integer pay) {
		this.pay = pay;
	}

	public String getSuggest() {
		return this.suggest;
	}

	public void setSuggest(String suggest) {
		this.suggest = suggest;
	}

	public Date getBookTime() {
		return this.bookTime;
	}

	public void setBookTime(Date bookTime) {
		this.bookTime = bookTime;
	}

	public Date getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

}